package com.jg.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**订单实体
 * 
 * @TableName orders
 */
@Data
public class Orders implements Serializable {
    /**
     * 订单id
     */
    private Integer id;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 订单总价格
     */
    private BigDecimal totalPrice;

    /**
     * 用户id
     */
//    private Integer userId;

    // 关联用户id
    private User user;

    private static final long serialVersionUID = 1L;
}